package com.gouying.design.patterns.state;

public class PowerState extends PlayState {

    PowerState(PlayState nextState) {
        this.nextState = nextState;
    }
    @Override
    public void play() {
        System.out.println("我充满力量");
        nextState.play();
    }
}
